<h2 class='jquery_tab_title'>用户信息修改</h2>
<form class='um' id='modify_form'>
	<input type='hidden' id='user_id' value='<?php echo $user_data['id'] ?>'>
	
	<fieldset>
	<legend>账户信息</legend>
	<p>&nbsp;&nbsp;&nbsp;用户名：<span style='color: #f60;'><?php echo $user_data['name'] ?></span></p>
	<p>用户密码：<input class='input-small' type='text' value='' name='password' id='password'/>&nbsp;&nbsp;&nbsp;(不修改留空)</p>
	<p>注册时间：<span><?php echo date("Y-m-d H:i", $user_data['create_time'])?></span></p>
	<p>用户类型：<span><?php echo $this->common_data->_get_user_category_name_by_cid($user_data['category_id'])?></span></p>
	<p>账户状态：<span class='<?php echo ($society_data['confirm_FLAG'] == SOCIETY_REVIEW_PASS || $society_data['confirm_FLAG'] == SOCIETY_FINAL_FAIL) ? 'tips' : ''?>'><?php echo $this->common_data->_get_society_status_by_confirm_flag($society_data['confirm_FLAG'])?></span>
		<?php if ($society_data['confirm_FLAG'] == SOCIETY_REVIEW_PASS):?>
		<input class='button um' id='submit_verify' type='button' value='提交审核'/>
		
		<div id='um_submit_verify_dialog' title='社团信息终审'>
		<p><span class='tips'>请谨慎选取审核结果，审核结果提交后将无法任意修改</span></p>
		</div>
		<script>
		$("#um_submit_verify_dialog").dialog({
			autoOpen: false,
			resizable: false,
			draggable: false,
			width: 300,
			height: 170,
			modal: true,
			buttons: {
				"<?php echo SOCIETY_FINAL_PASS_CHS ?>": function() {
					var user_id = $("#user_id").val();
					var confirm_FLAG = '<?php echo SOCIETY_FINAL_PASS ?>';
					Admin.um.submit_verify(user_id, confirm_FLAG);
					$( this ).dialog( "close" );
				},
				"<?php echo SOCIETY_FINAL_FAIL_CHS ?>": function() {
					var user_id = $("#user_id").val();
					var confirm_FLAG = '<?php echo SOCIETY_FINAL_FAIL ?>';
					Admin.um.submit_verify(user_id, confirm_FLAG);
					$( this ).dialog( "close" );
				},
				"取消": function() {
					$( this ).dialog( "close" );
				}
			}
		});
		</script>
		<?php endif;?>
	<p>电子邮箱：<input class='input-medium' type='text' value='<?php echo $user_data['email'] ?>' name='email' id='email'/></p>
	</fieldset>
	
	<fieldset>
	<legend>社团负责人信息</legend>
	<p>姓名：<span><?php echo $society_data['contact'] ?></span></p>
	<p>学院专业：<span><?php echo $this->col_pro_data->_get_category_name_by_id($society_data['contact_col']) . ' - ' .$this->col_pro_data->_get_category_name_by_id($society_data['contact_pro'])?></span></p>
	<p>手机：<span><?php echo $society_data['contact_phone'] ?></span></p>
	<p>QQ：<span><?php echo $society_data['contact_qq'] ?></span></p>
	</fieldset>
	
	<fieldset>
	<legend>社团指导老师信息</legend>
	<p>姓名：<span><?php echo $teacher_data['t_name'] ?></span></p>
	<p>性别：<span><?php echo $this->common_data->_get_gender_by_cid($teacher_data['t_gender'])?></span></p>
	<p>生日：<span><?php echo $this->common->convert_birthday($teacher_data['t_birth'])?></span></p>
	<p>手机：<span><?php echo $teacher_data['t_phone'] ?></span></p>
	<p>QQ：<span><?php echo $teacher_data['t_qq'] ?></span></p>
	</fieldset>
	
	<input class='button um' id='submit_modify' type='button' value='确定修改'/>
	<input class='button' type='reset' value='重置表单'/>
	<input class='button um' id='back' type='button' value='返回列表'/>
</form>